@import './variables.scss';
/*
  全局样式重置开始
*/
.pswp {
  z-index: 15000 !important;  // 图片预览堆叠顺序
}
.pswp__counter {
  left: 48% !important;
  font-size: 18px !important;
}
.pswp__bg {
  opacity: .9 !important;
}
.el-form-item { // 表单每一项
  .el-form-item__content {
	.el-input__inner {
    padding: 0 10px;
	  // border-color: $borderColor; // 表单输入框 边框颜色
	}
  }
  .el-form-item__label {
	color:rgba(51,51,51,1);
  }
}
.el-table--border { // 表格
  color: #555;
  border: 1px solid $borderColor; // 表格 边框颜色
  td {
	border-right: 1px solid $borderColor;
	border-bottom: 1px solid $borderColor;
  }
  th.is-leaf {
	color: #333;
	border-right: 1px solid $borderColor;
	border-bottom: 1px solid $borderColor;
  }
  .el-table__body {
	tr:hover>td {
	  background-color: $bgColor!important;
	}
  }
}
.el-select {
  width: 100%;
}
.el-form-item__error { // 错误提示
  white-space: nowrap;
}
.iconfont {
  font-size: 14px!important;
  span {
	font-size: 14px;
	font-family: "Microsoft YaHei"!important;
  }
}
//表格边框重复，进行重置by taohongfei
.el-table--border{border-right:none;border-bottom:none;}
// .el-table--border::after, .el-table--group::after,.el-table::before{background-color:#dcdcdc;}


/*
  全局样式重置结束
*/


/*
  兼容样式
*/
.el-pagination__editor.el-input .el-input__inner{box-shadow: none;} // 分页兼容火狐样式


/*
  公共样式
*/
.fns-table-handle { // 导出
  position: relative;
  top: 0;
  right: 0;
  .btnBox {
	position: absolute;
	top: -58px;
	right: 0;
  }
  .btnLine {
	margin-bottom: 10px;
	text-align: right;
  }
}
html{overflow-x: hidden;}
.fns-model-center { // 弹窗上下居中
  .el-dialog {
	height: 120px;
	margin: auto!important;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transform: translate(0,0);
  }
}
.el-dialog { // 弹窗上下居中
  margin-top: 0!important;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 1000;
}
.el-input { // psd 密码选中后 背景颜色
  .el-input__inner {
  	&:-webkit-autofill {
  	  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  	}
  }
  .el-input__inner:focus {
    border-color: #5299FF;
  }
}

// 全局按钮样式
.el-button.el-button--primary {
  border-color: $btnBgcBase;
  background-color: $btnBgcBase;
  &:hover {
    border-color: $btnBgcHover;
    background-color: $btnBgcHover;
  }
  &:active {
    border-color: $btnBgcActive;
    background-color: $btnBgcActive;
  }
}

// 分页样式（兼容问题）
.el-pagination .el-select .el-input .el-input__inner,
.el-pagination__editor.el-input .el-input__inner {
  line-height: 28px;
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: $btnBgcBase;
}

//提示框大小限制
.el-tooltip__popper{max-width:600px; line-height: 18px;word-wrap:break-word;}

